<?php
/**
 * @file
 * ccloud_jn.features.wysiwyg.inc
 */

/**
 * Implements hook_wysiwyg_default_profiles().
 */
function ccloud_jn_wysiwyg_default_profiles() {
  $profiles = array();

  // Exported profile: content
  $profiles['content'] = array(
    'format' => 'content',
    'editor' => 'ueditor',
    'settings' => array(
      'default' => 1,
      'user_choose' => 0,
      'show_toggle' => 0,
      'add_to_summaries' => 1,
      'theme' => '',
      'language' => 'zh-hans',
      'zindex' => 500,
      'initialFrameHeight' => 320,
      'initial_content' => '',
      'allowdivtop' => 0,
      'auto_height' => 1,
      'auto_float' => 0,
      'show_elementpath' => 0,
      'show_wordcount' => 0,
      'toolbars' => 'bold,italic,underline,insertorderedlist,insertunorderedlist,indent,justifyleft,justifycenter,justifyright,link,simpleupload,inserttable,forecolor,backcolor,fontsize,source',
      'imagePathFormat' => '/%b%f/ueditor/%u/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}',
      'scrawlPathFormat' => '/%b%f/ueditor/%u/upload/scrawl/{yyyy}{mm}{dd}/{time}{rand:6}',
      'filePathFormat' => '/%b%f/ueditor/%u/upload/file/{yyyy}{mm}{dd}/{time}{rand:6}',
      'fileManagerListPath' => '/%b%f/ueditor/%u/upload/file/',
      'catcherPathFormat' => '/%b%f/ueditor/%u/upload/catcher/{yyyy}{mm}{dd}/{time}{rand:6}',
      'imageManagerListPath' => '/%b%f/ueditor/%u/upload/image/',
      'snapscreenPathFormat' => '/%b%f/ueditor/%u/upload/snapscreen/{yyyy}{mm}{dd}/{time}{rand:6}',
      'videoPathFormat' => '/%b%f/ueditor/upload/%u/video/{yyyy}{mm}{dd}/{time}{rand:6}',
      'css_setting' => 'theme',
      'css_path' => '',
      'advanced__active_tab' => 'edit-basic',
    ),
    'rdf_mapping' => array(),
  );

  return $profiles;
}
